www.gusucode.com > WSTMall PHP网店系统 v1.6.0PHP源码程序 > WSTMall PHP网店系统 v1.6.0/wstmall_v1.6.0_160506/wstmall_v1.6.0_160506/Apps/Admin/Model/ShopsCatsModel.class.php
<?php namespace Admin\Model; /** * ============================================================================ * WSTMall开源商城 * 官网地址:http://www.wstmall.com * 联系QQ:707563272 * ============================================================================ * 店铺分类服务类 */ class ShopsCatsModel extends BaseModel { /** * 获取列表 */ public function queryByList($shopId,$parentId){ return $this->where('shopId='.(int)$shopId.' and catFlag=1 and parentId='.(int)$parentId)->select(); } }; ?>